package aynu.hd.Login.LoginDao;

import aynu.hd.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface loginDao {
    //根据账户查找用户
    User queryUserByName(String user_name);

    //根据邮箱查找用户
    User queryUserByEmail(String user_email);

    //根据身份证查找用户
    User queryUserByIdentityCard(String user_identity_card);

    //注册用户
    void addUser(User user);

    //修改用户密码
    void modifyUserPasswordByname(User user);

}
